/**
 * Copyright (c) 2018 软唐 All rights reserved.
 *
 * https://www.softtown.cn
 *
 * 版权所有，侵权必究！
 */

package com.softtown.modules.dapai.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@Data
@ApiModel(value = "租赁订单主表信息")
public class CompLeaseOrderDTO implements Serializable {

    /**
     * 主键
     * id
     * isNullAble:0
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 公司id
     * isNullAble:0
     */
    @ApiModelProperty(value = "公司id")
    private Long compId;

    /**
     * 客户id
     * isNullAble:0
     */
    @ApiModelProperty(value = "客户id")
    private Long custId;


    /**
     * 租金
     * isNullAble:0
     */
    @ApiModelProperty(value = "租金")
    private BigDecimal rent;


    /**
     * 押金
     * isNullAble:0
     */
    @ApiModelProperty(value = "押金")
    private BigDecimal deposit;
    /**
     * 预警天数
     * isNullAble:0
     */
    @ApiModelProperty(value = "预警天数")
    private Integer days;


    /**
     * 备注
     * isNullAble:0
     */
    @ApiModelProperty(value = "备注")
    private String  remark;

    /**
     * 审批状态0:未提交 1：审批中 2：已完成 3：已撤销 4：已退回 5：已终止
     * isNullAble:0
     */
    @ApiModelProperty(value = "审批状态0:未提交 1：审批中 2：已完成 3：已撤销 4：已退回 5：已终止")
    private Integer	aprvStatus;



    /**
     * 审批流id
     * isNullAble:1
     */
    @ApiModelProperty(value = "审批流id")
    private Long aprvProcId;


    /**
     * 创建者
     * isNullAble:1
     */
    @ApiModelProperty(value = "创建者")
    private Long creator;

    /**
     * 创建时间
     * isNullAble:1
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

}
